function HARQ = WiSiL_HARQ_init (frame)
% WISIL_HARQ_INIT Initialize HARQ buffers.
%
%  HARQ = WiSiL_HARQ_init( FRAME ) initializes HARQ buffers according to
%  parameters in FRAME.

% History
% Andre Noll Barreto, 15/04/2011
%  created

HARQ.repetitions = ones( 1, frame.numberOfBlocks );
HARQ.acknowledgment = zeros( 1, frame.numberOfBlocks );
HARQ.transmittedBlocks = frame.numberOfBlocks;
HARQ.soft_data_buffer = [];
HARQ.receivedBlocks = 0;